package com.itheima.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @作者 itcast
 * @创建日期 2020/11/2 10:48
 **/
@Data
@Component
@ConfigurationProperties(prefix = "config-attributes")
public class ConfigModel {
    private String val;
    private int[] valArr;
    private List<String> cityList;
    private Map valMap;
    private List<Map> valMapList;
}
